package com.ll.domain.classbase.base;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ll.app.api.req.ListSignupReqDTO;
import com.ll.dal.po.SignupPO;
import com.ll.domain.classbase.enums.SingupStatusEnum;

import java.util.List;

public interface SignupBaseService  extends IService<SignupPO> {
    List<SignupPO> queryListByUserAndCourseIds(String dingTalkUserId, List<Long> courseIds);
    List<SignupPO> queryListByCourseId(Long courseId);
    List<SignupPO> queryList(ListSignupReqDTO reqDTO);
    void updateStatus(Long signupId, SingupStatusEnum status);

    SignupPO getByUserIdAndCourse(String dingTalkUserId, Long courseId);
}
